package com.workoutgrabber.ui.panels;

import java.util.LinkedList;
import java.util.List;

import javax.swing.JPanel;

import com.workoutgrabber.ui.listeners.ExerciseCreatedListener;

public abstract class ExercisePanel extends JPanel {
	
	protected List<ExerciseCreatedListener> listeners;

	protected ExercisePanel(){
		listeners = new LinkedList<ExerciseCreatedListener>();
	}
	
	public void addExerciseCreateListener(ExerciseCreatedListener listener){
		listeners.add(listener);
	}
}
